package com.itheima.constructor;

public class son extends Person{
    private String birthday;

    public son() {
        System.out.println("我是子类的构造方法");
    }

    public son(String birthday) {
        this.birthday = birthday;
        System.out.println("w我是子类的有参构造");
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}
